package com.yunduo.entity.front;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * //购物车 序列化到redis
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ShopCar implements Serializable {

    private static final long serialVersionUID = 1L;

    //用户id
    private String id;
    //商品列表
    private List<ShopCarItem> goods;
}
